package com.redstar.interesting.common.starter.mutiDataSource2;

import com.alibaba.druid.pool.DruidDataSourceFactory;
import org.apache.ibatis.datasource.DataSourceFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import javax.sql.DataSource;
import java.util.Properties;

@Component
public class CustomerDynamicDataSource extends DruidDataSourceFactory implements DataSourceFactory {

    @Autowired
    private MultiDataSourceProperties multiDataSourceProperties;

    @Override
    public void setProperties(Properties props) {

    }

    @Override
    public DataSource getDataSource() {
        return null;
    }
}
